package cn.zzh.service;

import cn.zzh.dao.UserDao;
import cn.zzh.user.User;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class UserServiceImp implements UserService {
    @Resource
    private UserDao userDao;

    @Override
    public List<User> addList() {
        return userDao.list();
    }
}
